<template>
  <div>
      <h1>{{ $page.post.title }}</h1>
      <h3>{{ $page.post.content }}</h3>
  </div>
</template>

<page-query>
query ($id: ID!) {
    post (id: $id) {
        id
        title
        content
    }
}
</page-query>

<script>
export default {
    name: 'Post',
    metaInfo() {
        return {
            title: this.$page.post.title
        }
    }
}
</script>

<style>

</style>